package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.njtoyo.taxi.admin.mapper.master.enums.CustomerFrom;
import com.njtoyo.taxi.admin.mapper.master.enums.RecommendationPromoteChannel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Dell
 * @since 2021-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Recommendation对象", description = "")
public class Recommendation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long fromId;

    private Long userId;

    private Boolean isActive;

    @ApiModelProperty(value = "是否是正常推广")
    private Boolean isValid;

    @ApiModelProperty(value = "0:wxmina,1:app,2:h5")
    private CustomerFrom promotePlatform;

    @ApiModelProperty(value = "0:wxmina,1:app,2:h5")
    private CustomerFrom activePlatform;

    private Date activacatedAt;

    private Date createdAt;

    private Date updatedAt;

    private RecommendationPromoteChannel promoteChannel;


}
